import request from '@/utils/request'

// 查询HtDeliver列表
export function listHtDeliver(query) {
    return request({
        url: '/api/v1/ht-deliver',
        method: 'get',
        params: query
    })
}

// 查询HtDeliver详细
export function getHtDeliver (id) {
    return request({
        url: '/api/v1/ht-deliver/' + id,
        method: 'get'
    })
}


// 新增HtDeliver
export function addHtDeliver(data) {
    return request({
        url: '/api/v1/ht-deliver',
        method: 'post',
        data: data
    })
}

// 修改HtDeliver
export function updateHtDeliver(data) {
    return request({
        url: '/api/v1/ht-deliver/'+data.id,
        method: 'put',
        data: data
    })
}

// 删除HtDeliver
export function delHtDeliver(data) {
    return request({
        url: '/api/v1/ht-deliver',
        method: 'delete',
        data: data
    })
}

